package imoocvideodev.dao;

import imoocvideodev.pojo.UsersLikeVideos;
import imoocvideodev.pojo.Videos;
import imoocvideodev.vo.VideosVO;

import java.util.List;

public interface VideosMapper {
    int deleteByPrimaryKey(String id);

    int insert(Videos record);

    int insertSelective(Videos record);

    Videos selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Videos record);

    int updateByPrimaryKey(Videos record);

    int addVideoLikeCount(String videoId);

    int reduceVideoLikeCount(String videoId);
}